<?php if (!defined('THINK_PATH')) exit();?>﻿<style>
home-category .home-category-item {
    height: 57px;
    line-height: 57px;
    background-color: transparent;
    transition: all .5s;
    text-align: center;
}

 .active3{
  background-color: white;
} 
.home-category .home-category-link {
    display: block;
    color: #333;
     padding: 0 0px; 
    height: 100%;
    text-align: center;
}
.layout-header-logo {
    float: left;
    height: 80px;
     overflow:none; 
}
.home-category-item:hover a{
background-color: white;
}
.home-category .home-category-child {
    display: none;
    position: absolute;
    height: 468px;
    left: 244px;
    top: 0;
    background-color: #fff;
    white-space: nowrap;
    font-size: 0;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
}
</style>



<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>普拉斯在线商城</title>
     <link rel="icon" href="/Public/Uploads/tou.png" mce_href="/Public/Uploads/tou.png" type="image/x-icon" />
    <link rel="stylesheet" href="https://store.res.meizu.com//layout/css/layout-f37b367275.css" />
    <link rel="stylesheet" href="/Public/shop/assets/css/amazeui.css"/>

    <link href="/Public/shop/css/index.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/Public/shop/css/swiper.min.css">
    <script src="/Public/shop/js/jquery-1.4.2.min.js"></script>
    <script src="/Public/shop/js/swiper.min.js"></script>
    <style>
         .meizu-header-user-dropdown {
            display: block;
            position: absolute;
            right: 0;
            z-index: 1;
            width: 98px;
            background-color: #fff;
            top: 64px;
            left: 50%;
            border-radius: 2px;
            box-sizing: border-box;
            text-align: center;
            padding: 15px 0;
            margin-left: -48px;
            box-shadow: 0 0 5px rgba(0,0,0,.1);
             display: none;
        }

        .meizu-header-user-dropdown:after {
            display: block;
            content: '';
            width: 0;
            height: 0;
            border: 10px solid;
            border-color: transparent transparent #fff;
            left: 40px;
            top: -15px;
            position: absolute
        }
         .meizu-header-user-dropdown li{
             font-size: 12px;
             display: block;
             margin: 15px auto
         }
         .meizu-header-user-dropdown li:first-child{margin-top: 0;}
         .meizu-header-user-dropdown li:last-child{margin-bottom: 0;}
         .meizu-header-user-dropdown li a{
             position: relative;
             z-index: 4;
             color: #515151;
         }
         .meizu-header-user-dropdown li a:hover{ color:#31a5e7;}
        #layoutHeaderUser:hover .meizu-header-user-dropdown{ display: block;}
         .home-settlement{transition: height 1s ease-in-out,top 1.5s ease-in-out,opacity 1.5s linear;z-index: 100 }
         .ul2{
            width: 100%;
            height: 50px;
            border:1px solid #eee;
            position: fixed;
            top: 0px;
            left: 0px;
            z-index: 100;
            background-color:white;
            z-index: 50;
         }
         .li3{
               float: left;
    
    color: black;
    margin-left: 64px;
    padding-top: 7px;
         }
         .btn{
            background-color: #1ac9f7;
            padding: 5px 10px;
            color: white;
         }
         .ul2 span{
float: left;
float: left;
    margin-right: 20px;
    display: inline-block;
    color: black;

         }
         .active3{
border-bottom: 1px solid #1ac9f7;
         }
         #all:hover{
                 
         }
            .home-category .home-category-child {
    display: none;
    position: absolute;
    height: 468px;
    left: 244px;
    top: 0;
    background-color: #fff;
    white-space: nowrap;
    font-size: 0;
    box-shadow: 1px 1px 2px rgba(0,0,0,.1);
}
    </style>
</head>

<body>
<!-- common header -->
<!--小广告-->
<?php if($show == 1): ?><ul class="ul2">
<li class="li3 active3"><a href="3">商品详情</a></li>
<li class="li3"><a href="3">规格参数</a></li>
<li class="li3"><a href="3">常见问题</a></li>

<div style="clear:both;float:right;margin-right: 20px;margin-top: -20px;"></div>
<div style="float:right;margin-right: 20px;color: red;margin-top: -20px;"><span style="color: red" id="headclass">￥<?php echo ($proInfo["scjiage"]); ?></span><button class="btn" id="btn">立即购买</button></div>
<br/>
</ul><?php endif; ?>


<script>
$(".li3").click(function(){
    $(this).addClass("active3").siblings().removeClass("active3");
})
</script>
<div class="home-settlement" id="homeSettlement">
    <div >
        <img src="<?php echo ($couAdv['img_url']); ?>" alt=" " class="home-settlement-img" >
        <a href="javascript:;"onClick="$(this).parent().hide();" class="home-settlement-point close" title="关闭">
            <i class="home-font close"></i>
        </a>
        <a href="<?php echo U('Home/Index/countList');?>" class="home-settlement-point" style="width: 1920px; height: 120px; left: 0px; top: 0px;" target="_blank"  ></a>
    </div>
</div>
<script type="text/javascript">
    $(function(){
        setTimeout(function () {   
        $('#homeSettlement').remove();  
    }, 10000);  
        
    })
</script>
<header class="layout-header clearfix" style="height: auto;" id="layoutHeader">
    <div class="mzcontainer">
        <div class="layout-header-logo" style=" width: 164px; padding: 10px 0;"> 
        <a  href="javascript:;" class="layout-header-logo-link" style="width: 134px;"><img src="/Public/index/images/logo.png" style="width: 150px; display: inline-block;
    
     height: auto; 
    margin-top: 27px;" > </a> </div>

            <ul class="layout-header-service clearfix" style="float: right;">
                <li class="layout-header-service-item layout-header-service-search mz-autocomlete" id="layoutHeaderSearch">
                    <input class="mz-autocomlete-input" placeholder="请输入产品名">
                    <i class="layout-font layout-font-search search-btn"></i></li>
                <li class="layout-header-service-item" id="layoutHeaderUser" style="height: 100px;">
                    <?php if(session('userInfo')): ?><a class="layout-header-service-link" href="<?php echo U('Home/Person/index');?>" data-mtype="wmz_public_yt_mycenter"> <img src="" alt=" " class="layout-header-service-avatar"> </a>
                        <?php else: ?>
                        <a class="layout-header-service-link" href="<?php echo U('Home/Shop/login');?>" data-mtype="wmz_public_yt_mycenter"> <img src="" alt=" " class="layout-header-service-avatar"> </a><?php endif; ?>
                    <ul class="meizu-header-user-dropdown">

                        <?php if(session('userInfo')): ?><li><a href="<?php echo U('Home/Person/order');?>">我的订单</a></li>
                            <li><a href="<?php echo U('Home/Shop/quit');?>">退出</a></li>
                            <?php else: ?>
                            <li><a href="<?php echo U('Home/Shop/login');?>" id="all">立即登录</a></li>
                            <li><a href="<?php echo U('Home/Shop/register');?>">立即注册</a></li><?php endif; ?>
                    </ul>
                </li>
                <li class="layout-header-service-item layout-header-service-cart" id="layoutHeaderCart"> <a class="layout-header-service-link" href="<?php echo U('Index/Shop/shop_cart');?>" data-mtype="wmz_public_yt_cart"> <i class="layout-font layout-font-cart1"></i> <span class="layout-header-service-cart-num">0</span> </a> </li>
            </ul>

        <ul class="layout-header-nav clearfix" id="layoutHeaderNav" style="float: left; margin-left: 20%;margin-top: -63px;">
            <li class="layout-header-nav-item"> <a href="/" class="layout-header-nav-link" >首页</a> </li>
            <li class="layout-header-nav-item"> <a href="<?php echo U('Home/Shop/index');?>" class="layout-header-nav-link" >商城首页</a> </li>
            <li class="layout-header-nav-item"> <a href="javascript:;" class="layout-header-nav-link" >资料下载</a> </li>
            <li class="layout-header-nav-item"> <a href="<?php echo U('Home/Index/aboutus',array('id'=>58));?>" class="layout-header-nav-link" >关于我们</a> </li>
            <li class="layout-header-nav-item"> <a href="<?php echo U('Home/Index/news');?>" class="layout-header-nav-link" >新闻中心</a> </li>
            <li class="layout-header-nav-item"> <a href="<?php echo U('Home/Index/hotTech');?>" class="layout-header-nav-link" >热流道技术</a> </li>
            <li class="layout-header-nav-item"> <a href="<?php echo U('Home/Index/clientFace');?>" class="layout-header-nav-link" >客户面对面</a> </li>
        </ul>
        <div class="layout-header-nav-downmenu" id="layoutHeaderNavDownmenu"></div>
    </div>
</header>
<script>
    $(".search-btn").click(function () {
        var shopName=$(".mz-autocomlete-input").val();
        if($(".mz-autocomlete-input").val()==""){
            alert('请输入搜索产品关键字');
            return false;
        }else{
            location.href="/index.php/Home/Shop/search?goodName="+shopName;
        }
    })
</script>

<div class="home">
    <!--  banner-->
    <div id="homeCarousel">
        <div class="swiper-container">
            <div class="swiper-wrapper" style="height: 480px;">
                <?php if(is_array($banner)): $i = 0; $__LIST__ = $banner;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ban): $mod = ($i % 2 );++$i;?><div class="swiper-slide"><img src="<?php echo ($ban["img_url"]); ?>" alt=""></div><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <!-- Add Pagination -->
            <div class="swiper-pagination"></div>
            <!-- Add Arrows -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </div>
    <!--	banner-->
    <ul class="home-category" id="homeCategory" style="margin-top: -10px;height: 490px;">
        <!--選項卡結束-->
        <li class="home-category-item"><strong><a href="<?php echo U('Home/Shop/shopList');?>" class="home-category-link">
            全部商品 </a></strong></li>
        <?php if(is_array($nav)): $i = 0; $__LIST__ = $nav;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$na): $mod = ($i % 2 );++$i;?><li class="home-category-item"><a href="<?php echo U('Home/Shop/shopItemList',array('pid'=>$na['id']));?>"
                                              class="home-category-link" style=" color: #333;
     padding: 0 0px;"><?php echo ($na["class_name"]); ?></a>
                <div class="home-category-child clearfix" style="height: 490px;">
                    <div class="home-category-child-list clearfix">
                        <?php if(is_array($na["erji"])): $i = 0; $__LIST__ = $na["erji"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$erji): $mod = ($i % 2 );++$i;?><a class="home-category-child-item"
                               href="<?php echo U('Home/Shop/shopList',array('id'=>$erji['id']));?>">
                                <div class="home-category-child-text"><?php echo ($erji["class_name"]); ?></div>
                            </a><?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
            </li><?php endforeach; endif; else: echo "" ;endif; ?>
        <!--選項卡結束-->
    </ul>
    <div class="home-hot mzcontainer">
        <div class="home-hot-header clearfix">
            <div class="home-hot-title">热品推荐</div>
        </div>
        <div class="home-hot-content lazyload" id="homeHotContent">
            <div class="swiper-containeredian">
                <div class="swiper-wrapper home-hot-list">
                    <?php if(is_array($hotTjPro)): $i = 0; $__LIST__ = $hotTjPro;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="swiper-slide home-product">
                            <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>" >
                                <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                <h4 class="home-product-title"><?php echo (cutStr($vo['title'],10,0,1)); ?></h4>
                                <h6 class="home-product-subtitle red"><span class="home-product-subtitle-label" style="color: #000;background-color: transparent;"><?php echo (cutStr($vo['miao'],20,0,1)); ?></span>
                                </h6>
                                <p class="home-product-bottom" style='margin-top: -21px;'><span class="home-product-price"><?php echo ($vo['jiage']); ?> <span
                                        class="home-product-start-tag">起</span> </span></p>
                            </a>
                        </li><?php endforeach; endif; else: echo "" ;endif; ?>

                </div>
                <!-- Add Arrows -->
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
        </div>
    </div>
    <ul class="home-floor" id="homeFloor">
        <li class="home-floor-item mzcontainer">
            <div class="home-floor-ad">
                <div class="home-floor-ad-content">
                    <div class="mzcontainer"><a
                            href="<?php echo ($advImgs[0][content]); ?>" target="_blank" class="home-floor-ad-point"
                            data-mtype="store_index_yl_1_1"><img src="<?php echo ($advImgs[0]['img_url']); ?>" class="home-floor-ad-img"> </a></div>
                </div>
            </div>
            <div class="home-floor-content">
                <div class="home-floor-header clearfix">
                    <h2 class="home-floor-title">溫控器</h2>
                    <div class="home-floor-nav wkq_title">
                        <?php if(is_array($wkqData)): $i = 0; $__LIST__ = $wkqData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wkqD): $mod = ($i % 2 );++$i; if($i==1): ?><a href="javascript:;" data-id="<?php echo ($wkqD['bid']); ?>" class="home-floor-nav-link active"><?php echo ($wkqD['class_name']); ?></a>
                                <?php else: ?>
                                <a href="javascript:;" data-id="<?php echo ($wkqD['bid']); ?>" class="home-floor-nav-link"><?php echo ($wkqD['class_name']); ?></a><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                    <a class="home-floor-more" href="<?php echo U('Home/Shop/shopList');?>" target="_blank">更多&gt;</a></div>
                    <div class="home-floor-content-list">
                        <ul class="home-floor-product wkq-proData clearfix active">
                        <?php if(is_array($wkqData)): $i = 0; $__LIST__ = $wkqData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wkqD): $mod = ($i % 2 );++$i;?><!--为毛没有展示另一个item的东东-->
                            <?php if($i==1): if(is_array($wkqD["items"])): $i = 0; $__LIST__ = $wkqD["items"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($i==1): ?><li class="home-product ad">
                                        <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>" >
                                            <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                            <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                        </a>
                                    </li>
                                    <?php else: ?>
                                    <li class="home-product" >
                                        <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>">
                                            <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                            <h4 class="home-product-title"><?php echo (cutStr($vo['title'],10,0,1)); ?></h4>
                                            <h6 class="home-product-subtitle red"><?php echo (cutStr($vo['content'],30,0,1)); ?></h6>
                                            <p class="home-product-bottom" style="margin-top: -18px"> <span class="home-product-price"><?php echo ($vo["jiage"]); ?> </span> </p>
                                            <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                        </a>
                                    </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div><?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <script>
$("a .more").mouseenter(function(){
    $(this).css("background-image","url()");
})
$(".more").mouseleave(function(){
    $(this).css("background-image","url(../images/more_iconBg.jpg)");
})
            </script>
        </li>
        <li class="home-floor-item mzcontainer">
            <div class="home-floor-ad">
                <div class="home-floor-ad-content">
                    <div class="mzcontainer"><a href="<?php echo ($advImgs[1][content]); ?>" target="_blank"><img src="<?php echo ($advImgs[1]['img_url']); ?>" class="home-floor-ad-img"/>
                        </a></div>
                </div>
            </div>
            <div class="home-floor-content">
                <div class="home-floor-header clearfix">
                    <h2 class="home-floor-title">温控配件</h2>
                    <div class="home-floor-nav wkpj_title">
                        <?php if(is_array($wkpjData)): $i = 0; $__LIST__ = $wkpjData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wkpjD): $mod = ($i % 2 );++$i; if($i==1): ?><a href="javascript:;" data-id="<?php echo ($wkpjD['bid']); ?>" class="home-floor-nav-link active"><?php echo ($wkpjD['class_name']); ?></a>
                                <?php else: ?>
                                <a href="javascript:;" data-id="<?php echo ($wkpjD['bid']); ?>" class="home-floor-nav-link"><?php echo ($wkpjD['class_name']); ?></a><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                        </div>
                    <a class="home-floor-more" href="<?php echo U('Home/Shop/shopList');?>">更多&gt;</a></div>
                <div class="home-floor-content-list">
                    <!--		 第一个	-->
                    <ul class="home-floor-product clearfix active">
                    <?php if(is_array($wkpjData)): $i = 0; $__LIST__ = $wkpjData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wkpjD): $mod = ($i % 2 );++$i; if($i==1): if(is_array($wkpjD["items"])): $i = 0; $__LIST__ = $wkpjD["items"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($i==1): ?><li class="home-product ad">
                                    <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>" >
                                        <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                        <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                    </a>
                                </li>
                                <?php else: ?>
                                <li class="home-product">
                                    <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>">
                                        <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                        <h4 class="home-product-title"><?php echo (cutStr($vo['title'],10,0,1)); ?></h4>
                                        <h6 class="home-product-subtitle red"><?php echo (cutStr($vo['content'],30,0,1)); ?></h6>
                                        <p class="home-product-bottom" style='margin-top: -19px;'> <span class="home-product-price"><?php echo ($vo["jiage"]); ?> </span> </p>
                                        <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                    </a>
                                </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    </ul><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </div>
            </div>
        </li>
        <li class="home-floor-item mzcontainer">
            <div class="home-floor-ad">
                <div class="home-floor-ad-content">
                    <div class="mzcontainer"> <a
                            href="<?php echo ($advImgs[2][content]); ?>" class="home-floor-ad-point" target="_blank"><img src="<?php echo ($advImgs[2][img_url]); ?>" class="home-floor-ad-img"></a></div>
                </div>
            </div>
            <div class="home-floor-content">
                <div class="home-floor-header clearfix">
                    <h2 class="home-floor-title">数码配件</h2>
                    <div class="home-floor-nav dig_title">
                        <?php if(is_array($smpjData)): $i = 0; $__LIST__ = $smpjData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$smpjD): $mod = ($i % 2 );++$i; if($i==1): ?><a href="javascript:;" data-id="<?php echo ($smpjD['bid']); ?>" class="home-floor-nav-link active"><?php echo ($smpjD['class_name']); ?></a>
                                <?php else: ?>
                                <a href="javascript:;" data-id="<?php echo ($smpjD['bid']); ?>" class="home-floor-nav-link"><?php echo ($smpjD['class_name']); ?></a><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                     </div>
                    <a class="home-floor-more">更多&gt;</a></div>
                <div class="home-floor-content-list">
                    <!--		 第一个	-->
                    <ul class="home-floor-product clearfix active">
                    <?php if(is_array($smpjData)): $i = 0; $__LIST__ = $smpjData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$smpjD): $mod = ($i % 2 );++$i; if($i==1): if(is_array($smpjD["items"])): $i = 0; $__LIST__ = $smpjD["items"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; if($i==1): ?><li class="home-product ad">
                                    <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>" >
                                        <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                        <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                    </a>
                                </li>
                                <?php else: ?>
                                <li class="home-product">
                                    <a class="home-product-link" href="<?php echo U('Home/Shop/article',array('id'=>$vo['id']));?>" >
                                        <img class="home-product-img" src="<?php echo ($vo['img_url']); ?>">
                                        <h4 class="home-product-title"><?php echo (cutStr($vo['title'],10,0,1)); ?></h4>
                                        <h6 class="home-product-subtitle red"><?php echo (cutStr($vo['content'],30,0,1)); ?></h6>
                                        <p class="home-product-bottom"> <span class="home-product-price"><?php echo ($vo["jiage"]); ?> </span> </p>
                                        <?php switch($vo["sales"]): case "1": ?><div class="home-product-sign" style="background-color: #00c3f5;">新品</div><?php break; endswitch;?>
                                    </a>
                                </li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                    </ul><?php endif; endforeach; endif; else: echo "" ;endif; ?>

                </div>
            </div>
        </li>
    </ul>
</div>

<style>
.am-icon-wechat:before, .am-icon-weixin:before {
    content: "";
}
.layout-magnet-text{
    margin-left:8px;
}
.layout-magnet .layout-magnet-cart-num{
        right: 50px;
}
.layout-footer .layout-footer-media {
    float: right;
    margin-right: 63px;
}
</style>
<footer class="layout-footer">
    <div class="mzcontainer">
        <section class="layout-footer-top clearfix">
            <ul class="layout-footer-services clearfix">
                <?php if(is_array($footSerList)): $i = 0; $__LIST__ = $footSerList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li class="layout-footer-services-item">
                        <a href="javascript:;" class="layout-footer-services-link" >
                            <span class="layout-footer-service-wrap"><i class="layout-font layout-font-foot5"></i></span> <span class="layout-footer-services-text"><?php echo ($vo["class_name"]); ?></span>
                        </a>
                    </li><?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
            <div class="layout-footer-contact" style="margin-bottom: 16px;">
                <p class="layout-footer-contact-desc">24小时全国服务热线</p>
                <a href="tel:<?php echo ($info["shouji"]); ?>" class="layout-footer-contact-tel"><?php echo ($info["shouji"]); ?></a>
                <p> <a href="javascript:void(0);"  class="layout-footer-contact-online" > <i class="layout-font layout-font-talk1"></i><span class="text">在线客服</span> </a> </p>
            </div>
        </section>
        <section class="layout-footer-bottom clearfix" style="    margin-top: -78px;">
            <ul class="layout-footer-interlock clearfix">
                <li class="layout-footer-interlock-item"> <a href="javascript:;" target="_blank" class="layout-footer-interlock-link">招聘信息</a> </li>
                <li class="layout-footer-interlock-item"> <a href="<?php echo U('Index/Index/aboutus',array('id'=>58));?>" target="_blank" class="layout-footer-interlock-link">关于我们</a> </li>
                <li class="layout-footer-interlock-item"> <a href="<?php echo U('Index/Index/aboutus',array('id'=>59));?>" target="_blank" class="layout-footer-interlock-link">联系我们</a> </li>
            </ul>
            <div class="layout-footer-copyright clearfix"> <span class="layout-footer-copyright-left">
                <a class="layout-footer-copyright-link copyright-text"><?php echo ($info["power_by"]); ?></a>
                <a class="layout-footer-copyright-link" hidefocus="true" target="_blank"></a>
               <a class="layout-footer-copyright-link"  target="_blank"><?php echo ($info["record_num"]); ?></a>
                 </span>
                <ul class="layout-footer-media clearfix">
                    <li class="layout-footer-media-item"> <a href="" class="layout-footer-media-link"> <i class="layout-font layout-font-weibo"></i> </a> </li>
                    <li class="layout-footer-media-item"> <a href="javascript:void(0);" class="layout-footer-media-link wechat"> <i class="layout-font layout-font-wechat"></i>
                        <div class="layout-footer-media-wechat-qrcode"> <img class="layout-footer-media-wechat-img" src="<?php echo ($info["weixin"]); ?>" alt="微信二维码"> </div>
                    </a> </li>
                    <li class="layout-footer-media-item"> <a href="" class="layout-footer-media-link"> <i class="layout-font layout-font-qzone"></i> </a> </li>
                </ul>
            </div>
        </section>
    </div>
</footer>

<!--<div class="layout-user-downmenu">-->
    <!--<ul class="layout-user-downmenu-list">-->
        <!--<li class="layout-user-downmenu-item"> <a href="" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_login">立即登录</a> </li>-->
        <!--<li class="layout-user-downmenu-item"> <a href="" target="_blank" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_register">立即注册</a> </li>-->
        <!--<li class="layout-user-downmenu-item"> <a href="" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_myorder">我的订单</a> </li>-->
        <!--<li class="layout-user-downmenu-item"> <a href="" class="layout-user-downmenu-link" data-mtype="wmz_public_grzx_mformy">M码通道</a> </li>-->
    <!--</ul>-->
<!--</div>-->

<div class="layout-magnet" style="bottom: 100px; right: 11px;">
<p class="close"><a href="#">X</a></span>
<script>
$(".close").click(function(){
    $(".layout-magnet").css("display","none");
})
</script>
    <ul class="layout-magnet-list"    style="width: 55px;">
        <li class="layout-magnet-item1" style="background-color: rgba(0,0,0,0.3);margin-bottom: 1px;"> <a href="shop_cart.html" class="layout-magnet-link" data-mtype="wmz_public_cbxf_cart">
            <div class="layout-magnet-icon"> <i class="layout-font layout-font-cart"></i> </div>
          
            <span class="layout-magnet-cart-num" id="storeMagnetCartNum" style="right:12px;top:50px"> <span class="layout-magnet-cart-text"><?php echo count(session('cartNum'));;?></span> </span> </a> </li>
        <li class="layout-magnet-item layout-magnet-item-app" style="background-color: rgba(0,0,0,0.3);"> <a href="javascript:void(0);" class="layout-magnet-link">
          
            <div class="layout-magnet-text">公众号</div>
            <div class="layout-magnet-download" style="right:98px">
                <div class="layout-magnet-download-body"> <img src="/Public/shop/images/qrcode-33xxe5b72a.png" class="layout-magnet-qrcode" alt="QRCode">
                    <p class="layout-magnet-download-text" style="margin-top: 2px;">扫码关注公众号</p>
                </div>
            </div>
        </a> </li>
        <li class="layout-magnet-item1 layout-magnet-item-top" style="background-color: rgba(0,0,0,0.3);;"> <a href="javascript:void(0);" class="layout-magnet-link" data-mtype="wmz_public_cbxf_top" id="test">
            <div class="layout-magnet-icon"> <i class="layout-font layout-font-top"></i> </div>
    <script>
test.onclick = function(){
document.body.scrollTop = document.documentElement.scrollTop = 0;
}
</script>

        </a> </li>
    </ul>
    <a class="layout-magnet-minimize layout-magnet-icon layout-magnet-link" href="javascript:void(0);"> <i class="layout-font layout-font-minimize"></i> </a> </div>
</body>
</html>
<script src="js/scroll.js"></script>
<script>
    $(function(){
        $('#homeCategory li ').mouseover(function(){ $(this).children('div').show();}).mouseout(function(){ $(this).children('div').hide();})
        $('#layout-magnet-text').click(function(){$("html,body").animate({scrollTop:0}, 500);})
        $('.home-floor-content').each(function(v,k){
            $('.home-floor-content').eq(v).children('div').children('div').children('a').mouseover(function(){
                $(this).addClass('active').siblings().removeClass('active');
                $('.home-floor-content-list').eq(v).children('ul').eq($(this).index()).addClass('active').siblings().removeClass('active');
            })
        });


    })

    var swiper = new Swiper('.swiper-container', {
        slidesPerView: 1,
        spaceBetween: 0,
        keyboard: {
            enabled: true,
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },

    });

    var swiperbbc = new Swiper('.swiper-containeredian', {
        slidesPerView: 5,
        spaceBetween: 0,
        keyboard: {
            enabled: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });
</script>
<script>
    //点击温控器切换数据
    $(".wkq_title a").click(function () {
        getCateDataList(this);
    })
    //点击温控配件切换数据
    $(".wkpj_title a").click(function () {
        getCateDataList(this);
    })
    //点击数码配件切换数据
    $(".dig_title a").click(function () {
        getCateDataList(this);
    })
    function getCateDataList(obj) {
        $(obj).addClass('active').siblings().removeClass('active');
        var proId=$(obj).attr('data-id');
        $.post("<?php echo U('Home/Shop/getCateData');?>",{pid:proId},function (response) {

            if(response.status==1){
              // console.log($(obj).closest('.home-floor-header').next().find('.home-floor-product').addClass('proItem'))
               $(obj).closest('.home-floor-header').next().find('.home-floor-product').html('');
               // $("ul.wkq-proData").html('');
                var html='';
                for(var i=0;i<response.data.length;i++){
                    if(i==0){
                        if(response.data[i].sales==1){
                            html+=' <li class="home-product ad">\n' +
                                '\t\t\t\t<a class="home-product-link" href="<?php echo U('Index/Shop/article',array('id'=>$vo['id']));?>"> <img class="home-product-img" src="'+response.data[i].img_url+'" > </a>\n' +
                                '              \t\t<div class="home-product-sign" style="background-color: #00c3f5;">新品</div>\n' +
                                '\t\t\t</li>';
                        }else{
                            html+=' <li class="home-product ad">\n' +
                                '\t\t\t\t<a class="home-product-link" href="<?php echo U('Index/Shop/article',array('id'=>$vo['id']));?>"> <img class="home-product-img" src="'+response.data[i].img_url+'" > </a>\n' +
                                '\t\t\t</li>';
                        }
                    }else{
                        if(response.data[i].sales==1){
                            html+='   <li class="home-product">\n' +
                                '\t\t\t\t<a class="home-product-link" href="<?php echo U('Index/Shop/article',array('id'=>$vo['id']));?>" >\n' +
                                '\t\t\t\t\t<img class="home-product-img" src="'+response.data[i].img_url+'" >\n' +
                                '              \t\t<h4 class="home-product-title">'+response.data[i].title+'</h4>\n' +
                                '              \t\t<h6 class="home-product-subtitle red">'+response.data[i].content+'</h6>\n' +
                                '              \t\t<p class="home-product-bottom"> <span class="home-product-price">'+response.data[i].jiage+' </span> </p>\n' +
                                '              \t\t<div class="home-product-sign" style="background-color: #00c3f5;">新品</div>\n' +
                                '             \t </a>\n' +
                                '\t\t\t </li>';
                        }else{
                            html+='   <li class="home-product">\n' +
                                '\t\t\t\t<a class="home-product-link" href="<?php echo U('Index/Shop/article',array('id'=>$vo['id']));?>" >\n' +
                                '\t\t\t\t\t<img class="home-product-img" src="'+response.data[i].img_url+'" >\n' +
                                '              \t\t<h4 class="home-product-title">'+response.data[i].title+'</h4>\n' +
                                '              \t\t<h6 class="home-product-subtitle red">'+response.data[i].content+'</h6>\n' +
                                '              \t\t<p class="home-product-bottom"> <span class="home-product-price">'+response.data[i].jiage+' </span> </p>\n' +
                                '             \t </a>\n' +
                                '\t\t\t </li>';
                        }

                    }
                }
               $(obj).closest('.home-floor-header').next().find('.home-floor-product').append(html);
           }
        },'json')
    }
</script>